  <%@page import="org.json.simple.JSONArray"%>
<%@page import="org.apache.jasper.tagplugins.jstl.core.ForEach"%>
<%@page contentType="text/html; charset=UTF-8"%>
  <%@page import="org.json.simple.JSONObject"%>
<%@  page
	import="com.crimax.skor.ColorService, java.io.StringWriter , java.util.List"%>
  <%
  	
	String rgb = request.getParameter("rgb");
  	String hogklackat = request.getParameter("hogklackat");
  	String pumps = request.getParameter("pumps");
  	String sandaler = request.getParameter("sandaler");
	String stovlar = request.getParameter("stovlar");
	String party = request.getParameter("party");
	String max = request.getParameter("max");
	String min = request.getParameter("min");
  
	
  
	String obj =new ColorService(rgb,hogklackat,pumps,sandaler,stovlar,party,max,min).searchRGBColor();

  	out.print(obj);
  	out.flush();
  %>